.class public Lcom/waiqin365/lightapp/chexiao/b/a;
.super Ljava/lang/Object;


# direct methods
.method public static a(Lcom/waiqin365/lightapp/chexiao/b/c;)Lcom/waiqin365/lightapp/chexiao/b/d;
    .locals 1

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/chexiao/b/c;->b()I

    move-result v0

    sparse-switch v0, :sswitch_data_0

    const/4 v0, 0x0

    :goto_0
    return-object v0

    :sswitch_0
    new-instance v0, Lcom/waiqin365/lightapp/chexiao/b/a/as;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/chexiao/b/a/as;-><init>()V

    goto :goto_0

    :sswitch_1
    new-instance v0, Lcom/waiqin365/lightapp/chexiao/b/a/am;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/chexiao/b/a/am;-><init>()V

    goto :goto_0

    :sswitch_2
    new-instance v0, Lcom/waiqin365/lightapp/chexiao/b/a/bq;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/chexiao/b/a/bq;-><init>()V

    goto :goto_0

    :sswitch_3
    new-instance v0, Lcom/waiqin365/lightapp/chexiao/b/a/bj;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/chexiao/b/a/bj;-><init>()V

    goto :goto_0

    :sswitch_4
    new-instance v0, Lcom/waiqin365/lightapp/chexiao/b/a/bn;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/chexiao/b/a/bn;-><init>()V

    goto :goto_0

    :sswitch_5
    new-instance v0, Lcom/waiqin365/lightapp/chexiao/b/a/bg;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/chexiao/b/a/bg;-><init>()V

    goto :goto_0

    :sswitch_6
    new-instance v0, Lcom/waiqin365/lightapp/chexiao/b/a/av;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/chexiao/b/a/av;-><init>()V

    goto :goto_0

    :sswitch_7
    new-instance v0, Lcom/waiqin365/lightapp/chexiao/b/a/bi;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/chexiao/b/a/bi;-><init>()V

    goto :goto_0

    :sswitch_8
    new-instance v0, Lcom/waiqin365/lightapp/chexiao/b/a/br;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/chexiao/b/a/br;-><init>()V

    goto :goto_0

    :sswitch_9
    new-instance v0, Lcom/waiqin365/lightapp/chexiao/b/a/bc;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/chexiao/b/a/bc;-><init>()V

    goto :goto_0

    :sswitch_a
    new-instance v0, Lcom/waiqin365/lightapp/chexiao/b/a/bm;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/chexiao/b/a/bm;-><init>()V

    goto :goto_0

    :sswitch_b
    new-instance v0, Lcom/waiqin365/lightapp/chexiao/b/a/bh;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/chexiao/b/a/bh;-><init>()V

    goto :goto_0

    :sswitch_c
    new-instance v0, Lcom/waiqin365/lightapp/chexiao/b/a/bt;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/chexiao/b/a/bt;-><init>()V

    goto :goto_0

    :sswitch_d
    new-instance v0, Lcom/waiqin365/lightapp/chexiao/b/a/al;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/chexiao/b/a/al;-><init>()V

    goto :goto_0

    :sswitch_e
    new-instance v0, Lcom/waiqin365/lightapp/chexiao/b/a/bd;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/chexiao/b/a/bd;-><init>()V

    goto :goto_0

    :sswitch_f
    new-instance v0, Lcom/waiqin365/lightapp/chexiao/b/a/au;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/chexiao/b/a/au;-><init>()V

    goto :goto_0

    :sswitch_10
    new-instance v0, Lcom/waiqin365/lightapp/chexiao/b/a/bp;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/chexiao/b/a/bp;-><init>()V

    goto :goto_0

    :sswitch_11
    new-instance v0, Lcom/waiqin365/lightapp/chexiao/b/a/bf;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/chexiao/b/a/bf;-><init>()V

    goto :goto_0

    :sswitch_12
    new-instance v0, Lcom/waiqin365/lightapp/chexiao/b/a/bb;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/chexiao/b/a/bb;-><init>()V

    goto :goto_0

    :sswitch_13
    new-instance v0, Lcom/waiqin365/lightapp/chexiao/b/a/ay;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/chexiao/b/a/ay;-><init>()V

    goto :goto_0

    :sswitch_14
    new-instance v0, Lcom/waiqin365/lightapp/chexiao/b/a/ba;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/chexiao/b/a/ba;-><init>()V

    goto :goto_0

    :sswitch_15
    new-instance v0, Lcom/waiqin365/lightapp/chexiao/b/a/at;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/chexiao/b/a/at;-><init>()V

    goto/16 :goto_0

    :sswitch_16
    new-instance v0, Lcom/waiqin365/lightapp/chexiao/b/a/aw;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/chexiao/b/a/aw;-><init>()V

    goto/16 :goto_0

    :sswitch_17
    new-instance v0, Lcom/waiqin365/lightapp/chexiao/b/a/ao;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/chexiao/b/a/ao;-><init>()V

    goto/16 :goto_0

    :sswitch_18
    new-instance v0, Lcom/waiqin365/lightapp/chexiao/b/a/an;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/chexiao/b/a/an;-><init>()V

    goto/16 :goto_0

    :sswitch_19
    new-instance v0, Lcom/waiqin365/lightapp/chexiao/b/a/bk;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/chexiao/b/a/bk;-><init>()V

    goto/16 :goto_0

    :sswitch_1a
    new-instance v0, Lcom/waiqin365/lightapp/chexiao/b/a/bl;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/chexiao/b/a/bl;-><init>()V

    goto/16 :goto_0

    :sswitch_1b
    new-instance v0, Lcom/waiqin365/lightapp/chexiao/b/a/ax;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/chexiao/b/a/ax;-><init>()V

    goto/16 :goto_0

    :sswitch_1c
    new-instance v0, Lcom/waiqin365/lightapp/chexiao/b/a/ap;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/chexiao/b/a/ap;-><init>()V

    goto/16 :goto_0

    :sswitch_1d
    new-instance v0, Lcom/waiqin365/lightapp/chexiao/b/a/aq;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/chexiao/b/a/aq;-><init>()V

    goto/16 :goto_0

    :sswitch_1e
    new-instance v0, Lcom/waiqin365/lightapp/chexiao/b/a/ar;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/chexiao/b/a/ar;-><init>()V

    goto/16 :goto_0

    :sswitch_1f
    new-instance v0, Lcom/waiqin365/lightapp/chexiao/b/a/bo;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/chexiao/b/a/bo;-><init>()V

    goto/16 :goto_0

    :sswitch_20
    new-instance v0, Lcom/waiqin365/lightapp/chexiao/b/a/be;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/chexiao/b/a/be;-><init>()V

    goto/16 :goto_0

    :sswitch_21
    new-instance v0, Lcom/waiqin365/lightapp/chexiao/b/a/az;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/chexiao/b/a/az;-><init>()V

    goto/16 :goto_0

    :sswitch_22
    new-instance v0, Lcom/waiqin365/lightapp/chexiao/b/a/ak;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/chexiao/b/a/ak;-><init>()V

    goto/16 :goto_0

    :sswitch_23
    new-instance v0, Lcom/waiqin365/lightapp/chexiao/b/a/bs;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/chexiao/b/a/bs;-><init>()V

    goto/16 :goto_0

    :sswitch_data_0
    .sparse-switch
        0x6 -> :sswitch_6
        0x7 -> :sswitch_7
        0x8 -> :sswitch_8
        0x9 -> :sswitch_9
        0xa -> :sswitch_a
        0xc -> :sswitch_b
        0xd -> :sswitch_12
        0xe -> :sswitch_c
        0xf -> :sswitch_d
        0x11 -> :sswitch_e
        0x12 -> :sswitch_13
        0x13 -> :sswitch_f
        0x14 -> :sswitch_10
        0x15 -> :sswitch_11
        0x16 -> :sswitch_14
        0x17 -> :sswitch_15
        0x18 -> :sswitch_16
        0x19 -> :sswitch_1b
        0x1a -> :sswitch_17
        0x1b -> :sswitch_18
        0x1c -> :sswitch_19
        0x1d -> :sswitch_1c
        0x1e -> :sswitch_1a
        0x1f -> :sswitch_5
        0x20 -> :sswitch_1d
        0x21 -> :sswitch_1e
        0x22 -> :sswitch_1f
        0x23 -> :sswitch_20
        0x24 -> :sswitch_21
        0x25 -> :sswitch_22
        0x26 -> :sswitch_23
        0x1001 -> :sswitch_0
        0x1002 -> :sswitch_1
        0x1003 -> :sswitch_2
        0x1004 -> :sswitch_3
        0x1005 -> :sswitch_4
    .end sparse-switch
.end method

.method public static a(Lcom/waiqin365/lightapp/chexiao/b/c;Z)Lcom/waiqin365/lightapp/chexiao/b/d;
    .locals 7

    const/4 v6, 0x1

    const/4 v5, 0x0

    const-string/jumbo v0, ""

    invoke-static {}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->b()Lcom/fiberhome/gaea/client/base/ExmobiApp;

    move-result-object v0

    invoke-virtual {v0}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->getApplicationContext()Landroid/content/Context;

    new-instance v1, Ljava/util/HashMap;

    invoke-direct {v1}, Ljava/util/HashMap;-><init>()V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/chexiao/b/c;->e()Ljava/util/HashMap;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/chexiao/b/c;->e()Ljava/util/HashMap;

    move-result-object v0

    invoke-virtual {v1, v0}, Ljava/util/HashMap;->putAll(Ljava/util/Map;)V

    :cond_0
    :try_start_0
    const-string/jumbo v0, "%s%s"

    const/4 v2, 0x2

    new-array v2, v2, [Ljava/lang/Object;

    const/4 v3, 0x0

    invoke-static {}, Lcom/fiberhome/gaea/client/c/b;->d()Ljava/lang/String;

    move-result-object v4

    aput-object v4, v2, v3

    const/4 v3, 0x1

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/chexiao/b/c;->c()Ljava/lang/String;

    move-result-object v4

    aput-object v4, v2, v3

    invoke-static {v0, v2}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    if-eqz p1, :cond_1

    invoke-static {}, Lcom/fiberhome/gaea/client/c/b;->c()Lcom/fiberhome/gaea/client/c/c;

    move-result-object v2

    iget-object v2, v2, Lcom/fiberhome/gaea/client/c/c;->d:Ljava/lang/String;

    invoke-static {v2}, Lcom/waiqin365/compons/b/a;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v3

    if-nez v3, :cond_1

    const-string/jumbo v3, "Host"

    invoke-static {}, Lcom/fiberhome/gaea/client/c/b;->c()Lcom/fiberhome/gaea/client/c/c;

    move-result-object v4

    iget-object v4, v4, Lcom/fiberhome/gaea/client/c/c;->d:Ljava/lang/String;

    invoke-virtual {v1, v3, v4}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    invoke-static {}, Lcom/fiberhome/gaea/client/c/b;->c()Lcom/fiberhome/gaea/client/c/c;

    move-result-object v3

    iget-object v3, v3, Lcom/fiberhome/gaea/client/c/c;->d:Ljava/lang/String;

    invoke-virtual {v0, v3, v2}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object v0

    :cond_1
    const-string/jumbo v2, "httpok"

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v4, "\u8f66\u9500\u63a5\u53e3\u901a\u4fe1="

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-static {v2, v3}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/chexiao/b/c;->d()Ljava/util/HashMap;

    move-result-object v2

    invoke-static {v0, v1, v2}, Lcom/waiqin365/compons/b/a;->c(Ljava/lang/String;Ljava/util/HashMap;Ljava/util/HashMap;)Ljava/lang/String;

    move-result-object v1

    invoke-static {p0}, Lcom/waiqin365/lightapp/chexiao/b/a;->a(Lcom/waiqin365/lightapp/chexiao/b/c;)Lcom/waiqin365/lightapp/chexiao/b/d;

    move-result-object v0

    const-string/jumbo v2, "httpok"

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v4, "\u8f66\u9500\u63a5\u53e3\u901a\u4fe1="

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-static {v2, v3}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/chexiao/b/d;->a(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_2

    const/16 v2, 0x3ed

    iput v2, v0, Lcom/waiqin365/lightapp/chexiao/b/d;->a:I

    :cond_2
    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/chexiao/b/d;->a(Z)V
    :try_end_0
    .catch Ljava/net/SocketTimeoutException; {:try_start_0 .. :try_end_0} :catch_0
    .catch Ljava/net/UnknownHostException; {:try_start_0 .. :try_end_0} :catch_1
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_2

    :goto_0
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/chexiao/b/c;->g()I

    move-result v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/chexiao/b/d;->a(I)V

    return-object v0

    :catch_0
    move-exception v0

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v2, "\u8f66\u9500\u63a5\u53e3\u901a\u4fe1\u8d85\u65f6\u5f02\u5e38="

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v0}, Ljava/net/SocketTimeoutException;->getMessage()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, " cmdtype:"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/chexiao/b/c;->b()I

    move-result v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/fiberhome/gaea/client/d/d;->a(Ljava/lang/String;)V

    invoke-static {p0}, Lcom/waiqin365/lightapp/chexiao/b/a;->a(Lcom/waiqin365/lightapp/chexiao/b/c;)Lcom/waiqin365/lightapp/chexiao/b/d;

    move-result-object v0

    invoke-virtual {v0, v5}, Lcom/waiqin365/lightapp/chexiao/b/d;->a(Z)V

    const/16 v1, 0x3ea

    iput v1, v0, Lcom/waiqin365/lightapp/chexiao/b/d;->a:I

    iput-boolean v6, v0, Lcom/waiqin365/lightapp/chexiao/b/d;->l:Z

    goto :goto_0

    :catch_1
    move-exception v0

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v2, "\u8f66\u9500\u63a5\u53e3\u901a\u4fe1\u4f4d\u7f6e\u57df\u540d\u5f02\u5e38="

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v0}, Ljava/net/UnknownHostException;->getMessage()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, " cmdtype:"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/chexiao/b/c;->b()I

    move-result v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/fiberhome/gaea/client/d/d;->a(Ljava/lang/String;)V

    invoke-static {p0}, Lcom/waiqin365/lightapp/chexiao/b/a;->a(Lcom/waiqin365/lightapp/chexiao/b/c;)Lcom/waiqin365/lightapp/chexiao/b/d;

    move-result-object v0

    invoke-virtual {v0, v5}, Lcom/waiqin365/lightapp/chexiao/b/d;->a(Z)V

    const/16 v1, 0x3e9

    iput v1, v0, Lcom/waiqin365/lightapp/chexiao/b/d;->a:I

    iput-boolean v6, v0, Lcom/waiqin365/lightapp/chexiao/b/d;->l:Z

    goto :goto_0

    :catch_2
    move-exception v0

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v2, "\u8f66\u9500\u63a5\u53e3\u901a\u4fe1\u5f02\u5e38="

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v0}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, " cmdtype:"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/chexiao/b/c;->b()I

    move-result v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/fiberhome/gaea/client/d/d;->a(Ljava/lang/String;)V

    invoke-static {p0}, Lcom/waiqin365/lightapp/chexiao/b/a;->a(Lcom/waiqin365/lightapp/chexiao/b/c;)Lcom/waiqin365/lightapp/chexiao/b/d;

    move-result-object v0

    invoke-virtual {v0, v5}, Lcom/waiqin365/lightapp/chexiao/b/d;->a(Z)V

    const/16 v1, 0x3ec

    iput v1, v0, Lcom/waiqin365/lightapp/chexiao/b/d;->a:I

    goto/16 :goto_0
.end method
